package com.cdcgeek.bean;

/**
 * 皮卡丘类
 *
 * @Author CDCeek
 */
class Pikachu implements PocketMonster {
    // 名称
    private String name;
    // 等级
    private Integer rank;

    public Pikachu() {
    }

    public Pikachu(String name, Integer rank) {
        this.name = name;
        this.rank = rank;
    }

    @Override
    public void fight() {
        System.out.println("吃我十万伏特！");
    }
}
